[NTG-context] Re: Comments placed in the margin

2024-03-19 Thread Jean-Pierre Delange
Hi Jeroen, You can try this : \setupmargindata[inmargin][location=inner, style={\ssx\setupinterlinespace[line=2.8ex]}] \setupmarginframed[inmargin][align=left] Sorry if I send owls to Athens ! JP Le 19/03/2024 à 15:38, Jeroen a écrit : For comments that are placed in the margin

[NTG-context] Re: Comments placed in the margin

2024-03-19 Thread Wolfgang Schuster
: \setupmargindata[inmargin][style={\tf}] It does for me but but unless you want a certain style it is better to use a empty argument for the style key. \starttext \inmargin{Bold?}\samplefile{lorem} \setupmargindata[inmargin][style=] \inmargin{Bold?}\samplefile{lorem} \stoptext Wolfgang

[NTG-context] Re: Comments placed in the margin

2024-03-19 Thread Jeroen
This one unbolds the margin text: \setupmargindata[inouter][style=\tf] This one works well, it unbolds and reduces the size of the margin text: \setupmargindata [inouter] [style={\switchtobodyfont[8pt]}] This one does not seem to make a change: \setupmargindata[inmargin][style={\tf

[NTG-context] Re: Comments placed in the margin

2024-03-19 Thread Hraban Ramm
? Try \setupmargindata[inmargin][style={\tf}] I don’t know why the default is bold. Hraban ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl

[NTG-context] Wiki page : Mixed languages sample (French, Ancient Greek, Arabic, Chinese)

2024-03-01 Thread Jean-Pierre Delange
=doublesided, location={header, inmargin}] \setupmargindata[inmargin][location=inner, style={\ssx\setupinterlinespace[line=2.8ex]}] \setupmarginframed[inmargin][align=right] \setupbodyfontenvironment[default][em=italic] % Use Theano Didot as Ancient Greek font \definefallbackfamily[mainface][serif

[NTG-context] Re: Issue with italics

2024-02-26 Thread Jean-Pierre Delange
] \setuppagenumbering[alternative=doublesided, location={header, inmargin}] \setupmargindata[inmargin][location=inner, style={setupinterlinespace[line=2.8ex]}] \setupmarginframed[inmargin][align=right] \setupbodyfontenvironment[default][em=italic] \definefallbackfamily[mainface][rm][Theano Didot

[NTG-context] Re: Text in Margin

2024-02-19 Thread Henning Hraban Ramm
\inmargin, \inouter etc. Additional to Wolfgang’s suggestions: If you need sidefloats that cover not only the margin but should decrease the text width, you can move sidefloats into the margin like: \startplacefigure[title={},location=outer] \offset[rightoffset=-\marginwidth]{\externalfigure[cow

[NTG-context] Re: Section number in the margin and the section title followed by paragraph!

2024-01-28 Thread Wolfgang Schuster
|<>| ##. SECTION TITLE paragraph ... . |<-->| margin ``` I wanted paragraph to begin on the same line the section title lies. \define[1]\SectionNumberCommand   {\margindata[inmargin]

[NTG-context] Re: Section number in the margin and the section title followed by paragraph!

2024-01-27 Thread Pablo Rodriguez via ntg-context
SECTION TITLE paragraph > ... > . > > |<-->| > margin > ``` > I wanted paragraph to begin on the same line the section title lies. Hi Ali, from what I understand, you need both alternati

[NTG-context] Re: Section number in the margin and the section title followed by paragraph!

2024-01-27 Thread Wolfgang Schuster
;" I just wanted to know if there already an option defined to achieve the desired result. \setuphead [subsection] [alternative=margin] %\setuphead [subsection] [alternative=inmargin] %\setuphead [subsection] [alt

[NTG-context] Re: LMTX: Command handling, Interface between TeX and Lua

2023-12-14 Thread Gerion Entrup
> context('Color chosen = ' .. named_values['color']) > context('\\par') > context('Curly braces = ' .. str) > context('\\par') > end > \stopluacode > > \def\mycommand[#1][#2]#3{\ctxlua{ > userdata.mycommand('#1', '#2', [==[#3]==])}} > > \startt

[NTG-context] Re: LMTX: Command handling, Interface between TeX and Lua

2023-12-13 Thread Bruce Horrocks
][#2]#3{\ctxlua{ userdata.mycommand('#1', '#2', [==[#3]==])}} \starttext \mycommand[top, inmargin, now][color=green, roof=gabled]{Anne of Green Gables?} \stoptext — Bruce Horrocks Hampshire, UK ___ If your question

[NTG-context] Re: unwanted blank page

2023-11-19 Thread madiazm . eoicc
] %%% %%% NUMERACIÓN DE PÁGINAS, SETUP % %%% \setuppagenumbering[alternative=doublesided,location={footer,inmargin}] \setupuserpagenumber[way=byblock] \starttext \startsectionblock[portada

[NTG-context] problems with comments

2023-09-21 Thread Henning Hraban Ramm
t; doesn’t help. The "author" setting is shown, but as soon as I click on the comment, it changes to my user name. (Might depend on the viewer, but I get the same behavior from Adobe and Apple.) "title" and "subtitle" settings are handled differently by viewers, t

[NTG-context] Re: (feature proposal) link to attachments: /GoToE

2023-09-03 Thread Henning Hraban Ramm
the hood, I think there’s just a “reference” key missing in \attachment or \setupattachment: \setupinteraction[state=start] \starttext \samplefile{lorem} \attachment[ file={hacker.jpg}, title={Hacker}, symbol=Paperclip, author=Hans, location=inmargin, reference=foobar, ] As you can see

Re: [NTG-context] extra lines in PDF annotations

2023-03-14 Thread Pablo Rodriguez via ntg-context
ion[state=start] \startxmlsetups xml:text \xmlsetsetup{\xmldocument} {pre} {xml:copy:html} \stopxmlsetups \xmlregistersetup{xml:text} \startxmlsetups xml:copy:html \xmltobuffer{#1}{.}{text} \comment[location=inmargin,buffer=text]{} \stopxmlsetups \setuppapersize[A9

[NTG-context] extra lines in PDF annotations

2023-03-13 Thread Pablo Rodriguez via ntg-context
} \startxmlsetups xml:copy:html \xmltobuffer{#1}{.}{text} \comment[location=inmargin,buffer=text]{} \attachment[method=hidden, name=attach.xml, buffer=text] \null \stopxmlsetups If I save the XML file with Windows EOL chars (CR LF), I get extra blank lines in the PDF annotation

Re: [NTG-context] Curriculum example not working anymore (repost)

2023-02-24 Thread Jan-Erik Hägglöf via ntg-context
{{\bf #1}\inmargin{\it #2}\ (#3).\crlf {\bf #4}, #5.\blank[small]}} doesn’t work as expected. My modification \define[5]\EDUITEM{ \inleft{\bf #1} {{\it #2}\ (#3).\crlf {\bf #4}, #5.\blank[small]}} Then it seems to work

[NTG-context] How to break margin notes across page breaks?

2022-11-15 Thread Joel via ntg-context
How can I allow margin text to break across the page breaks? I have a document with many \inmargin code. The problem I'm finding is that sometimes I have a lot of items in the margin. I hope this margin details can break across the page and continue onto the next page. The problem is instead

Re: [NTG-context] Quick way to proofread / check index entries?

2022-09-04 Thread Bruce Horrocks via ntg-context
ions Richard and Mikael. For the benefit of the list I went with the following quick'n'dirty™ approach which will be good enough: \def\index{\dosingleempty\debugIndex} \def\debugIndex[#1]#2{% \iffirstargument \null% Ignore it for now \else \inmargin[color=blue,stack=yes,style=ssxx]{#2}% \fi }

[NTG-context] Line up itemize list with answer block

2022-08-23 Thread Jan Willem Flamma via ntg-context
, text=, width=, before={\blank[nowhite]}, after={\blank[nowhite]}, indenting=no, titledistance=1cm, location=inmargin, alternative=left, headstyle=, way=bychapter, prefixsegments=chapter, prefix=yes] \starttext \startchapter[title={Chapter

[NTG-context] stacking of marginals

2022-05-31 Thread Henning Hraban Ramm via ntg-context
between stack=yes or no: \usemodule[visual] \useMPlibrary[dum] \setupmargindata[inmargin][stack=yes] \starttext \dorecurse{20}{% \fakewords{5}{30} \inmargin{\externalfigure[dummy\recurselevel][width=15mm,height=15mm]} \fakewords{5}{40}\par } \stoptext Hraban

Re: [NTG-context] About margin notes

2021-12-14 Thread Hans Hagen via ntg-context
=12cm,margin=2.5cm] \setupmargindata[inmargin][style={\tfx\em}, location=outer,align=flushouter] just use \inouter or define a new margindata class (see typo-mar.mkxl line 360 etc to see what is defined in what way) \starttext \chapter{Introduction} \input{tufte} \input{tufte}\inmargin

[NTG-context] About margin notes

2021-12-14 Thread MANUEL GONZALEZ SUAREZ via ntg-context
Hi all: I send this minimal example: \mainlanguage [es] \definefontfamily [mainface] [serif] [Gentium] \setupbodyfont[mainface] \setuppagenumbering[alternative=doublesided, location={footer,right}] \setuplayout[textwidth=12cm,margin=2.5cm] \setupmargindata[inmargin][style={\tfx\em}, location

Re: [NTG-context] Footnotes in margins

2021-11-16 Thread Marcus Vinicius Mesquita via ntg-context
What am I missing? > > \starttext > \inmargin{Foo\footnote{Foo 1.}}Foo\footnote{Foo 2.} > \stoptext > > ConTeXt version: 2021.11.13 > > Regards > > Marcus Vinicius > -- > Todas as coisas fatigam o corpo, salvo a música, que não fatiga nem o > corpo nem seus membros, por s

Re: [NTG-context] Footnotes in margins

2021-11-16 Thread Taco Hoekwater via ntg-context
Hi, Like Hraban said, inserts are generally tricky and they tend to disappear when used inside other elements like floating objects / boxes / tables. However, ConTeXt has an easy way out at least for your case: \starttext \startpostponingnotes \inmargin{Foo\footnote{Foo 1.}}Foo\footnote{Foo 2

Re: [NTG-context] Footnotes in margins

2021-11-16 Thread Henning Hraban Ramm via ntg-context
> Am 16.11.2021 um 12:57 schrieb Marcus Vinicius Mesquita via ntg-context > : > > Dear list, > > When running the MWE below, the first footnote does not appear. > What am I missing? > > \starttext > \inmargin{Foo\footnote{Foo 1.}}Foo\footnote{Foo 2.} >

[NTG-context] Footnotes in margins

2021-11-16 Thread Marcus Vinicius Mesquita via ntg-context
Dear list, When running the MWE below, the first footnote does not appear. What am I missing? \starttext \inmargin{Foo\footnote{Foo 1.}}Foo\footnote{Foo 2.} \stoptext ConTeXt version: 2021.11.13 Regards Marcus Vinicius -- Todas as coisas fatigam o corpo, salvo a música, que não fatiga nem o

Re: [NTG-context] marginals from footnotes

2021-10-20 Thread Henning Hraban Ramm via ntg-context
w that in tex 'all is possible' somehow Yes, but I didn’t want to assume too much, and since inserts are tricky... > >> \starttext >> \samplefile{tufte}\inmargin{margin note} >> bla\footnote{footnote\inmargin{margin note from footnote}} bla >> \stoptext > \starttext >

Re: [NTG-context] marginals from footnotes

2021-10-20 Thread Hans Hagen via ntg-context
, but not in footnotes. Actually, marginals in footnotes are never displayed. Maybe I shouldn’t expect it to work, but I’d like to have this... Is it possible? you should know by now that in tex 'all is possible' somehow \starttext \samplefile{tufte}\inmargin{margin note} bla\footnote{footnote\inmargin

[NTG-context] marginals from footnotes

2021-10-19 Thread Henning Hraban Ramm via ntg-context
. Maybe I shouldn’t expect it to work, but I’d like to have this... Is it possible? \starttext \samplefile{tufte}\inmargin{margin note} bla\footnote{footnote\inmargin{margin note from footnote}} bla \stoptext Hraban

Re: [NTG-context] Headline with numbers in margin doubleside layout

2021-09-14 Thread juh via ntg-context
Thanks a lot Wolfgang for your help, Am Mon, Sep 13, 2021 at 01:33:36PM +0200 schrieb Wolfgang Schuster via ntg-context: > Like this? > > \setuphead >   [chapter] >   [page=yes, >    alternative=inmargin, >    location=outer, >    align=outer] > > \setup

Re: [NTG-context] Headline with numbers in margin doubleside layout

2021-09-13 Thread Wolfgang Schuster via ntg-context
this? \setuphead   [chapter]   [page=yes,    alternative=inmargin,    location=outer,    align=outer] \setuppagenumbering   [alternative=doublesided] \showframe \starttext \dorecurse{10}{\expanded{\chapter{Chapter \convertnumber{word}{\recurselevel \stoptext Wolfgang

Re: [NTG-context] numbered exercises

2021-08-24 Thread Henning Hraban Ramm via ntg-context
Here’s what I have now (result attached): \define[1]\ÜbungNrCmd{\inmargin{\offset[y=3em]{\rotate[rotation=90]{\SectionFont #1 \defineenumeration[Übung][ text=Übung, title=yes, titleleft=, titleright=, titledistance=-1em, titlestyle=\SectionFont, %numberstyle=\SectionFont

Re: [NTG-context] double-sided page number placement

2021-07-12 Thread Hans Hagen
quot; behaves as you expect using LMTX. Using MKIV with the current latest, there is no difference between "location=inright" and "location=inmargin". I don’t know whether this is intended or not. I hope it might help, the next version fixes it (t

Re: [NTG-context] double-sided page number placement

2021-07-12 Thread Charles Doherty
rginwidth>\zeropoint \page_layouts_right_margin_element\c!lefttext\c!leftstyle\c!leftcolor\c!leftwidth\zerocount \fi \ifdim\rightedgewidth>\zeropoint \page_layouts_right_edge_element\c!lefttext\c!leftstyle\c!leftcolor\c!leftwidth \fi}} \protect With this both inright and

Re: [NTG-context] double-sided page number placement

2021-07-11 Thread Pablo Rodriguez
LMTX. Using MKIV with the current latest, there is no difference between "location=inright" and "location=inmargin". I don’t know whether this is intended or not. I hope it might help, Pablo -- http://www.ousia.tk

[NTG-context] double-sided page number placement

2021-07-11 Thread Charles Doherty
Dear Hans, The following file: \setuplayout[location=doublesided] \setuppagenumbering[location=inmargin,alternative=doublesided] \starttext \dorecurse{20}{\input knuth } \stoptext using: > ConTeXt ver: 2021.04.21 11:39 LMTX fmt: 2021.7.11 int: english/english the left page of the dou

Re: [NTG-context] Formulanumbers in margin

2021-03-23 Thread Adam Reviczky
n perfectly place text with \inmargin > directly, just not with the numbercommand. > > MWE: > > \starttext > \setuplayout[margin=2cm, leftmargin=2cm, rightmargin=2cm] > > \showframe > \showlayout > > \setupcaption[figure][location={rightmargin}] > \startplacefigure[titl

Re: [NTG-context] Formulanumbers in margin

2021-03-21 Thread Adam Reviczky
Thanks Hraban, That should be fine, I've tried to increase the margins as well, but not sure that's the issue as I can perfectly place text with \inmargin directly, just not with the numbercommand. MWE: \starttext \setuplayout[margin=2cm, leftmargin=2cm, rightmargin=2cm] \showframe \showlayout

Re: [NTG-context] Formulanumbers in margin

2021-03-21 Thread Adam Reviczky
rieb Adam Reviczky : > > > > % this makes the formulanumber disappear > > % \setupformulas[location={rightmargin}] > > No, \setupformula’s location understands only left and right. > > Try something like: > > \define[1]\MyFormulaNumber{\inmargin{#1}} > > \setupformul

Re: [NTG-context] Formulanumbers in margin

2021-03-21 Thread Henning Hraban Ramm
> Am 21.03.2021 um 19:40 schrieb Adam Reviczky : > > % this makes the formulanumber disappear > % \setupformulas[location={rightmargin}] No, \setupformula’s location understands only left and right. Try something like: \define[1]\MyFormulaNumber{\inmargin{#1}} \

Re: [NTG-context] \blackrule and margin

2021-02-19 Thread Hans Hagen
=on,rulethickness=1pt,width=fit] \starttext \inmargin[][topframe=on,bottomframe=on,rulethickness=1pt,width=fit]{Me} \startformula a^n + b^n = c^n. \stopformula \blank[3*big] \MyInMargin{You} \startformula a^n + b^n = c^n. \stopformula \stoptext

Re: [NTG-context] tikzpicture in margin

2021-02-15 Thread Hans Hagen
a truly             marvelous proof ...  but             this margin is too narrow             to contain it.} \input{lorem} \inmargin{\externalfigure[cow] [width=\marginwidth]} % The above works. % The following does not: \input{lorem} \inmargin{ \starttikzpicture   \draw[gray] (-2,0) grid (2,2

Re: [NTG-context] tikzpicture in margin

2021-02-14 Thread Aditya Mahajan
text{I have discovered a truly >             marvelous proof ...  but >             this margin is too narrow >             to contain it.} > \input{lorem} > \inmargin{\externalfigure[cow] [width=\marginwidth]} > % The above works. > % The following does not: > \input{lorem} > \inmar

[NTG-context] tikzpicture in margin

2021-02-14 Thread Jigé
            to contain it.} \input{lorem} \inmargin{\externalfigure[cow] [width=\marginwidth]} % The above works. % The following does not: \input{lorem} \inmargin{ \starttikzpicture   \draw[gray] (-2,0) grid (2,2) ;   \draw plot [domain=-2:2, samples=50, smooth] (\x,{\x * \x}); \stoptikzpicture

Re: [NTG-context] tikzpicture in margin

2021-02-14 Thread Henning Hraban Ramm
margintext{I have discovered a truly > marvelous proof ... but > this margin is too narrow > to contain it.} > \input{lorem} > \inmargin{\externalfigure[cow] [width=\marginwidth]} > % The above works. > % The following does not: > \input{lorem} >

Re: [NTG-context] font rendering in bibliography

2020-10-28 Thread Xenos Athenaios
\setuplanguage[fr][patterns={fr,agr}] \mainlanguage[fr] \setcharacterspacing[frenchpunctuation] \setuplayout [backspace=40mm] \setuppagenumbering[alternative=doublesided, location={header, inmargin}] \setupmargindata[inmargin][location=inner, style={\ssx\setupinterlinespace[line=2.8ex

Re: [NTG-context] Help on tweaking alignment, page numbers and ToC

2020-08-11 Thread Wolfgang Schuster
[frontpart] \setupheader[state=stop] \stopsectionblockenvironment 5. Style and position page numbers differently in the front and body matter (e.g., centered only in the front matter). Alignment only (style comes with the proper option ): \setuppagenumbering[location={bottom

Re: [NTG-context] Help on tweaking alignment, page numbers and ToC

2020-08-11 Thread Pablo Rodriguez
, centered only in the front matter). Alignment only (style comes with the proper option ): \setuppagenumbering[location={bottom, inmargin}] \startsectionblockenvironment[frontpart] \setuppagenumbering[location={bottom, centered}] \stopsectionblockenvironment > As my full d

Re: [NTG-context] margin notes (was: lmtx update)

2020-08-01 Thread Otared Kavian
=7cm, width=middle, margin=5cm, margindistance=7mm] %\def\ColWidth{57mm} \setupmargindata[inmargin] [location=right, stack=continue, align=flushright, ] \setupmargindata[inouter] [location=right, stack=continue, align

Re: [NTG-context] margin notes (was: lmtx update)

2020-08-01 Thread Otared Kavian
es one cannot avoid them). > > One essential bit is missing in the wiki example: > > \setupmargindata[inmargin][ > location=right, > stack=continue, % !! > align=flushright, > ] > > The code I’m actually using for our German literature magazine “Kritische >

Re: [NTG-context] margin notes (was: lmtx update)

2020-08-01 Thread Henning Hraban Ramm
to each other (indeed it is not > a good habit to have long notes, but in some cases one cannot avoid them). One essential bit is missing in the wiki example: \setupmargindata[inmargin][ location=right, stack=continue, % !! align=flushright, ] The code I’m actually using for our Ge

Re: [NTG-context] pagecolumns: get the current column

2020-06-26 Thread Hans Hagen
overlapping the main text in the other column. I found a useful counter in page-pcl.mkiv: \c_page_col_current. Here's a MWE: \unprotect \def\curCol{\c_page_col_current} \protect \def\InfoInMargin#1{\doifelse{\the\curCol}{1}{\inmargin{#1}}{\inothermargin{#1}}} \def\TestText{\InfoInMargin{\bf

[NTG-context] pagecolumns: get the current column

2020-06-26 Thread mf
in the other column. I found a useful counter in page-pcl.mkiv: \c_page_col_current. Here's a MWE: \unprotect \def\curCol{\c_page_col_current} \protect \def\InfoInMargin#1{\doifelse{\the\curCol}{1}{\inmargin{#1}}{\inothermargin{#1}}} \def\TestText{\InfoInMargin{\bf \the\curCol}\input ward \InfoInMargin

Re: [NTG-context] issue with \comment

2020-06-16 Thread Pablo Rodriguez
rry, Wolfgang, I discovered after reporting the issue that inmargin comments need to be in horizontal mode. Many thanks for your help and sorry for the noise, Pablo -- http://www.ousia.tk ___ If your question is of interes

Re: [NTG-context] errors in margindata?

2020-06-07 Thread Wolfgang Schuster
Use of \typo_margins_data_yes doesn't match its definition l.9 \margindata{ text1}% One has to use \margindata[]{test} to avoid the error. \margindata expects the name of the instance (e.g [inmargin]) as first argument which is missing in your example. This means \inmargin{...} is the s

[NTG-context] Chapters, sections, usw

2020-02-24 Thread Jean-Pierre Delange
to print chapter titles. Thank you in advance for your help. JP See below the MWE : % \showframe %\showgrid \setuplanguage[fr][patterns={fr,agr}] \mainlanguage[fr] \setuppagenumbering[alternative=doublesided, location={header, inmargin}] \setupbodyfontenvironment[default][em=italic

Re: [NTG-context] fancy chapter setup

2020-01-11 Thread Rik Kabel
head  [chapter][   style=\tfc\HeadFont,   page=yes,   separator=,   numbercolor=darkgray,   alternative=inmargin, before=\directsetup{chapter:epigraph}, after={\resetshownsyno

[NTG-context] two issues with inmargin attachments

2019-11-20 Thread Pablo Rodriguez
-publications.pdf] c\attachment[file=onandon.pdf, location=inmargin] d\attachment[file=notnow.pdf, location=inmargin] e\attachment[file=about.pdf, location=text] f\attachment[file=i-context.pdf, location=text] \stoptext The default location seems to be "text"

Re: [NTG-context] \setuppagenumbering doublesided generates blank pages

2019-10-30 Thread Wolfgang Schuster
,inmargin}] \starttext \startchapter[title={October 2000}] Blah One \stopchapter \startchapter[title={November 2000}] Blah Two \stopchapter \stoptext This produces a PDF in TeXworks containing 4 pages: * Page 1 with a header an 'October 2000' header and 'Blah One' content * Page 2

[NTG-context] \setuppagenumbering doublesided generates blank pages

2019-10-30 Thread Kerry Sainsbury
Hi there, I am a newbie, and have *seem* to have discovered that \setuppagenumbering [alternative=doublesided] generates a blank page between chapters. \setupheadertexts[chapter] \setuppagenumbering [alternative=doublesided,location={header,inmargin}] \starttext \startchapter[title={October

Re: [NTG-context] notes in the margin

2019-10-04 Thread Henning Hraban Ramm
those two together, but it didn’t work \setupmargindata[inmargin][ location=right, stack=continue, align=flushright, style={\switchtobodyfont[6pt]}, ] \setupmargindata[inouter][ location=right, stack=continue, align=flushright, style={\switchtobodyfont[6pt]}, ] \def\FNVOffset{0

Re: [NTG-context] notes in the margin

2019-10-03 Thread Andres Conrado Montoya
the options that would allow me to move them up or down, according to the Wiki (https://wiki.contextgarden.net/Command/inmargin), but they don't seem to do anything, or I don't understand how to work with them. But if there is actually a way to manually instruct \inmargin to move up or down

Re: [NTG-context] (again) inmargin attachments in notes

2019-07-30 Thread Pablo Rodriguez
On 7/29/19 10:27 PM, Hans Hagen wrote: > On 7/29/2019 9:33 PM, Pablo Rodriguez wrote: > [...] > b\footnote{x\inleftmargin[scope=local]{\attachment[location=high,file=i-context.pdf]}} Many thanks for your reply, Hans. I didn’t know that placing margin data in notes was so complex. Many thanks

Re: [NTG-context] (again) inmargin attachments in notes

2019-07-29 Thread Hans Hagen
On 7/29/2019 9:33 PM, Pablo Rodriguez wrote: Hi Hans, I have the following sample: \showframe\showgrid \setupinteraction[state=start] \setupinteractionscreen[option=attachment] \setupattachment[location=inmargin] \starttext a\attachment[file=xml-mkiv.pdf] b

[NTG-context] (again) inmargin attachments in notes

2019-07-29 Thread Pablo Rodriguez
Hi Hans, I have the following sample: \showframe\showgrid \setupinteraction[state=start] \setupinteractionscreen[option=attachment] \setupattachment[location=inmargin] \starttext a\attachment[file=xml-mkiv.pdf] b\footnote{\attachment[file=i-context.pdf]} \stoptext

[NTG-context] noindent vs noindentation in strc-con

2019-07-12 Thread Aditya Mahajan
basically boils down to the difference between: \showboxes \starttext \noindent \inmargin{Example 1} \startitemize \item This is how enumeration works. \stopitemize \inmargin{Example 2} \startitemize \item This works correctly \stopitemize \stoptext Note that the first example has an extra

Re: [NTG-context] several blocks of text in the margin

2019-05-01 Thread Henning Hraban Ramm
\setupmargindata[inright][stack=continue] might help, but the mechanism changed within the last few months: while it previously worked automagically in most cases, I had to shift several margin notes in my project using \inmargin[voffset=...]{...} Greetlings, Hraban --- https://www.fiee.net

Re: [NTG-context] Processing XML: Header and footer, data manipulation

2019-04-22 Thread Axel Kielhorn
that? > > I have a workaround for that: > > \title{\xmltext{#1}{/pnr} \xmltext{#1}{/pname}} > > And in your preamble: > > \setupheadertexts[title][\date] > \setuphead[title] >[placehead=empty, > before=, > after=, > page=,] > &

Re: [NTG-context] Processing XML: Header and footer, data manipulation

2019-04-22 Thread Pablo Rodriguez
more than one docan, but I > only get the „, “ > > \startxmlsetups xml:psoutdoc > %\inmargin{\xmltext{#1}{/docan} $\Leftarrow$} {\bf > \xmltext{#1}{/docnr}}\xmlflush{#1} > \inmargin{\xmlconcat{#1}{/docan}{, } $\Leftarrow$} {\bf > \xmltext{#1}{/docnr}}\xmlflush{#1} > \xmlsav

[NTG-context] Processing XML: Header and footer, data manipulation

2019-04-22 Thread Axel Kielhorn
there may be more than one docan, but I only get the „, “ \startxmlsetups xml:psoutdoc %\inmargin{\xmltext{#1}{/docan} $\Leftarrow$} {\bf \xmltext{#1}{/docnr}}\xmlflush{#1} \inmargin{\xmlconcat{#1}{/docan}{, } $\Leftarrow$} {\bf \xmltext{#1}{/docnr}}\xmlflush{#1} \xmlsave{#1}{outfile.xml

Re: [NTG-context] issue with symbol in attachments

2019-03-25 Thread Pablo Rodriguez
, only one attachment is shown in each margin. It seems to be the last one. I have just discovered it accidentally: \setupinteraction[state=start] \starttext one\attachment[file=onandon, location=inmargin] two (actually)\attachment[file=notnow, location=inmargin]% \attachment[fi

Re: [NTG-context] inmargin for only Roman-numbered items

2019-03-20 Thread Pablo Rodriguez
e to create a new itemgroup environment/instance. > > \defineitemgroup [romanitemize] > \setupitemgroup [romanitemize] [R,inmargin] Many thanks for your help, Wolfgang. This is exactly what I needed. Pablo -- http://www.ousia.tk

Re: [NTG-context] inmargin for only Roman-numbered items

2019-03-20 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 20.03.19 um 20:43: On 3/20/19 8:09 PM, Wolfgang Schuster wrote: Pablo Rodriguez schrieb am 20.03.19 um 20:03: [...] Is there a way to get only [option=inmargin] for the items that are Roman-numbered? \startitemize[I,inmargin] Many thanks for your reply, Wolfgang

Re: [NTG-context] inmargin for only Roman-numbered items

2019-03-20 Thread Pablo Rodriguez
On 3/20/19 8:09 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 20.03.19 um 20:03: >> [...] >> Is there a way to get only [option=inmargin] for the items that are >> Roman-numbered? > > \startitemize[I,inmargin] Many thanks for your reply, Wolfgang. I need

Re: [NTG-context] inmargin for only Roman-numbered items

2019-03-20 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 20.03.19 um 20:03: Dear list, I have the following sample: \showframe \setupitemize[each][option=inmargin] \starttext \startitemize[n] \dorecurse{5}{\item item} \stopitemize \startitemize \dorecurse{5}{\item item

[NTG-context] inmargin for only Roman-numbered items

2019-03-20 Thread Pablo Rodriguez
Dear list, I have the following sample: \showframe \setupitemize[each][option=inmargin] \starttext \startitemize[n] \dorecurse{5}{\item item} \stopitemize \startitemize \dorecurse{5}{\item item} \stopitemize \startitemize[I] \dorecurse{5

[NTG-context] stacking of marginals stopped working

2019-03-20 Thread Henning Hraban Ramm
With the current beta, stacking of margin notes doesn’t work any more. (It was never perfect, but good enough.) MWE: \setuplayout[ backspace=60mm, width=100mm, margin=50mm, ] \setupmargindata[inmargin][stack=yes,style=\tfx] % or stack=continue \starttext %\showlayout \input tufte

[NTG-context] inmargin attachments from notes

2019-03-10 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupinteraction[state=start] \setupinteractionscreen[option=attachment] \setuppapersize[A9, landscape] \starttext \footnote{attachment\attachment [xml-mkiv.pdf] [location=inmargin]} \stoptext Using latest beta

[NTG-context] Documentation of change / Evolving documents

2019-01-19 Thread Axel Kielhorn
{change}{\inmargin{\tx #1}{\red #2\par}}} \def\ChangeD#1#2{\change{#1+#2}\doifmode{change}{\inmargin{\tx #1}{\red #2\par}}} \starttext \ChangeV{V. 1.0}{Fertig!} \input knuth \ChangeD{2018-12-22}{Fertig!} \ChangeD{2018-12-23}{Letzter Fehler beseitigt.} \input knuth \ChangeD{2018-12-23

Re: [NTG-context] setupitemize (no hanging)

2018-09-29 Thread Alan Braslau
On Sun, 30 Sep 2018 13:40:36 +1300 Henri Menke wrote: > On 30/09/18 13:17, Alan Braslau wrote: > > Silly question: > > > > How do I setup itemize so that there be no hanging indent and the symbol is > > aligned with the left edge of the text, i.e. not in the margi

Re: [NTG-context] setupitemize (no hanging)

2018-09-29 Thread Henri Menke
On 30/09/18 13:17, Alan Braslau wrote: > Silly question: > > How do I setup itemize so that there be no hanging indent and the symbol is > aligned with the left edge of the text, i.e. not in the margin? (margin or > inmargin or width=-2em puts the symbol in the margin.) Not

[NTG-context] setupitemize (no hanging)

2018-09-29 Thread Alan Braslau
Silly question: How do I setup itemize so that there be no hanging indent and the symbol is aligned with the left edge of the text, i.e. not in the margin? (margin or inmargin or width=-2em puts the symbol in the margin.) Alan

[NTG-context] prevent page break when using blocks

2018-09-27 Thread Jan Willem Flamma
, location=inmargin, alternative=left, headstyle=, way=bychapter, prefixsegments=chapter, prefix=yes] \starttext \startchapter \startbuffer[question] \beginquestion \startquestion Question text \startitemize[a,packed][stopper=,right=)] \item Answer 1 \item Answer 2 \item

[NTG-context] issue with interaction

2018-09-24 Thread Pablo Rodriguez
Hans, I have the following sample (sorry, but I’m afraid I don’t know how to write a lopp here): \setupinteraction[state=start] \setupcomment[location=inmargin] \showframe \starttext This is a sample comment. \startcomment Just a comment \stopcomment

Re: [NTG-context] Modes in tables

2018-09-07 Thread Jan Willem Flamma
stion, >> after={\blank[2*big]}, >> inbetween={\blank[nowhite]}, >> way=bychapter, >> prefixsegments=chapter, >> prefix=yes] >> >> \defineenumeration >> [answer] >> [counter=answer, >> text

Re: [NTG-context] inmargin produces underfull hbox

2018-09-07 Thread Wolfgang Schuster
You can get of the warning by changing the alignment for the \margindata entries. \setupmarginframed   [inmargin]   [align={flushright,broad}] \starttext Overfull\inmargin{abc} \stoptext You can produce the same message with the following example. \starttext \vbox   {\hsize

[NTG-context] inmargin produces underfull hbox

2018-09-07 Thread Hans van der Meer
This minimal example: \starttext \currentdate-\currenttime\quad\ConTeXt-version=\contextversion\blank Testing \ConTeXt macro\ \tex{inmargin} \blank Some text to fill the body of the text.\par \inmargin{\hbox{abc}} Some text to fill the body of the text\par \stoptext produces an underfull hbox

Re: [NTG-context] Modes in tables

2018-09-06 Thread Wolfgang Schuster
]}, way=bychapter, prefixsegments=chapter, prefix=yes] \defineenumeration [answer] [counter=answer, text=, width=, before={\blank[nowhite]}, after={\blank[nowhite]}, indenting=no, titledistance=1cm, location=inmargin

[NTG-context] Modes in tables

2018-09-06 Thread Jan Willem Flamma
[answer] [counter=answer, text=, width=, before={\blank[nowhite]}, after={\blank[nowhite]}, indenting=no, titledistance=1cm, location=inmargin, alternative=left, headstyle=, way=bychapter, prefixsegments=chapter, prefix=yes

Re: [NTG-context] Limit text width in items

2018-07-26 Thread Hans Hagen
On 7/26/2018 5:57 PM, Hans Hagen wrote: I can even put \start/stopnarrower in before/after of \setupitemgroup. Its width parameter doesn’t work (at least not together with inmargin). rightmargin=3em

Re: [NTG-context] Limit text width in items

2018-07-26 Thread Hans Hagen
tufte \MyFill{33} \stopitem \startitem \input knuth \MyFill{99} \stopitem \stopitemize \stopnarrower \stoptext Thank you very much! I can even put \start/stopnarrower in before/after of \setupitemgroup. Its width parameter doesn’t work (at least not together with inmargin

Re: [NTG-context] Limit text width in items

2018-07-26 Thread Henning Hraban Ramm
\input tufte > \MyFill{33} > \stopitem > \startitem > \input knuth > \MyFill{99} > \stopitem > \stopitemize > \stopnarrower > > \stoptext Thank you very much! I can even put \start/stopnarrower in before/after of \setupitemgroup. Its width paramete

[NTG-context] issues with \comment

2018-07-06 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupinteraction[state=start] \setupcomment[location=inmargin, color=darkred] \showframe \startbuffer[abc] \input zapf \stopbuffer \setuptype[option=tex] \starttext \comment[space=yes,buffer=abc]{} \type{\comment

Re: [NTG-context] Table of Contents sectioning numbers in margin + oddity

2018-06-25 Thread Wolfgang Schuster
edlist % \setuplist[] [content] [section] [level=section, alternative=c, criterium=local] \setuphead[section][alternative=inmargin] \setupitemize[1][inmargin][stopper=] \placecontent \starttext \startsection[title= First] \input ward \stopsection \startsection[title= Second] \startitemize[r] \sta

Re: [NTG-context] Table of Contents sectioning numbers in margin + oddity

2018-06-24 Thread Wolfgang Schuster
edlist % \setuplist[] [content] [section] [level=section, alternative=c, criterium=local] \setuphead[section][alternative=inmargin] \setupitemize[1][inmargin][stopper=] \placecontent \starttext \startsection[title= First] \input ward \stopsection \startsection[title= Second] \startitemize[r] \sta

[NTG-context] Table of Contents sectioning numbers in margin + oddity

2018-06-24 Thread Idris Samawi Hamid ادريس سماوي حامد
][alternative=inmargin] \setupitemize[1][inmargin][stopper=] \placecontent \starttext \startsection[title= First] \input ward \stopsection \startsection[title= Second] \startitemize[r] \startitem[] \input ward \stopitem \startitem[] \input ward \stopitem \stopitemize \stopsection \stoptext

Re: [NTG-context] bidi in footnotes

2018-06-23 Thread Idris Samawi Hamid ادريس سماوي حامد
number\directionsbidimode]% \fi \to \everybeforenoteinsert There are three parts in context where attributes are disabled which affects bidi: 1. Note inserts which affects \footnote. 2. Margin data which affects \inmargin etc. 3. The output routine which affects header and footer

Re: [NTG-context] bidi in footnotes

2018-06-22 Thread Wolfgang Schuster
insert There are three parts in context where attributes are disabled which affects bidi: 1. Note inserts which affects \footnote. 2. Margin data which affects \inmargin etc. 3. The output routine which affects header and footer lines. 2. a complete list of those typographical settings

  1   2   3   4   5   6   7   >